package com.hzhr.extdevice;


import com.hzhr.iot.device.sdk.DeviceSdk;
import com.hzhr.iot.login.sdk.LoginSdk;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by HL on 2017/12/19.
 */

@EnableFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
@EnableDiscoveryClient
@Import({LoginSdk.class, DeviceSdk.class})
public class ExtDeviceServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(ExtDeviceServiceApp.class, args);
    }
}
